#define _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
void main()
{
	int a[] = { 1,2,3,4 }, m, n = 1, s = 0;
for(m=3;m>=0;m--)
	{
		s = s + a[m] * n;
		n = n * 10;
 }
 printf("s=%d\n", s);
}